package main
import "fmt"

func swap_two_value(a *int, b *int){
	tmp := *a
	*a = *b
	*b = tmp
}

func main(){
	value := 100
	fmt.Printf("value pointer address: %p\n", &value)
	var ptr *int = &value
	fmt.Printf("value: %d\n", *ptr)
	a , b := 100, 200
	swap_two_value(&a , &b)
	fmt.Printf("a = %d b = %d\n", a, b)
}